const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,//关闭语法检查
  outputDir: '/build',
  devServer: {
    open: false,
    port: 8080,
    // 代理
    proxy: {
      '/': {
        ws: false,
        target: 'http://localhost:2000',
        changeOrigin: true,
        pathRewrite: {
          '^/': '/'
        }
      }
    }
  }
})
